<template>
  <van-tabbar v-model="active">
    <van-tabbar-item icon="home-o" to="home">主页</van-tabbar-item>
    <van-tabbar-item icon="search" to="category">分类</van-tabbar-item>
    <van-tabbar-item icon="friends-o" to="cart">购物车</van-tabbar-item>
    <van-tabbar-item icon="setting-o" to="mine">个人</van-tabbar-item>
  </van-tabbar>
</template>

<script>
export default {
  name: 'tabbar',
  data() {
    return {
      active: 0,
    };
  },
}
</script>

<style lang="less" scoped>

</style>

